﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Menu.ascx.cs" Inherits="UserControl_DichVu_Menu" %>
<asp:DataList ID="DataList2" runat="server" DataSourceID="SqlDataSource1" 
    Width="98%">
    <ItemTemplate>
        <table style="width: 100%;">
            <tr>
                <td class="style2">
                    <img alt="" class="style1" src="Styles/Images/bullet_black.png" />
                </td>
                <td>
                    <asp:HyperLink ID="HyperLink1" runat="server" CssClass="page-cataloges-item-products-item"
                        NavigateUrl='<%# Eval("ID", "~/DichVu.aspx?DichVuID={0}") %>' 
                        Text='<%# Eval("TieuDe") %>'></asp:HyperLink>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>

<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
    SelectCommand="SELECT TinTuc.ID, TinTuc.TieuDe FROM TinTuc INNER JOIN LoaiTin ON TinTuc.LoaiTin = LoaiTin.ID WHERE (LoaiTin.TheLoai = 1)">
</asp:SqlDataSource>


